﻿// Author:					HungNM
// Created:					17-08-2012
// Last Modified:			17-08-2012
//

using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using eProject.Business;


namespace eProject.Web.UI
{

    public partial class UserMenuControl : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            LoadParams();
            LoadSettings();
            PopulateLabels();
            PopulateControls();
        }

        private void PopulateControls()
        {

        }


        private void PopulateLabels()
        {
            if (IsPostBack) return;
            liUser.Text = "User";
            lnkAddUser.Text = "Add User";
            lnkAddUser.NavigateUrl = "~/Admin/AddUser.aspx";
            lnkUserManagement.Text = "Management";
            lnkUserManagement.NavigateUrl = "~/Admin/UserManagement.aspx";
        }

        private void LoadSettings()
        {

        }

        private void LoadParams()
        {

        }

        #region OnInit

        override protected void OnInit(EventArgs e)
        {
            base.OnInit(e);
            this.Load += new EventHandler(this.Page_Load);
        }

        #endregion
    }
}